{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "initial_id",
   "metadata": {
    "collapsed": true,
    "ExecuteTime": {
     "end_time": "2024-11-29T16:10:25.494131200Z",
     "start_time": "2024-11-29T16:10:25.449160800Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "  课程编码          3 3.1H+5.2L+7.2M    11    12    10    21    22    20    31  \\\n",
      "0   序号         学号           学生姓名   0.3   0.7   0.3   0.4   0.6   0.6   0.5   \n",
      "1    1  180533032           陈诺斯潘  90.0  80.0  83.0  80.0  80.0  80.0  70.0   \n",
      "\n",
      "     32    30   100  \n",
      "0   0.5   0.1   NaN  \n",
      "1  70.0  70.0  79.9  \n",
      "     年级  1  2  3  4  5  6  7  8  9  10  11  12\n",
      "0  2020  3  3  3  3  3  3  3  3  3   3   3   3\n",
      "1  2021  3  3  3  3  3  3  3  3  3   3   3   3\n"
     ]
    }
   ],
   "source": [
    "import pandas as pd\n",
    "\n",
    "df = pd.read_excel('BG0100008_23241.xlsx', sheet_name='2020')\n",
    "print(df.head())\n",
    "\n",
    "df2 = pd.read_excel('NumberforGrade.xlsx', sheet_name='Sheet1')\n",
    "print(df2.head())\n",
    "\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
